package com.dl.mall.entity.user;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Date;
import java.util.List;

/**
 * @author DL
 * @create 2022-01-17 13:20
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "UserInfo",description = "用户基本信息实体类")
public class UserInfo implements Serializable {
    private String userId;//用户id
    private String username;//用户名
    private String password;//密码
    private boolean state;//状态
    private Date createTime;//创建时间

    private String nickName;//昵称
    private String phone;//电话
    private String email;//电子邮箱
    private String avatar;//头像地址
    private Integer gender;//性别
    private Date birthday;//生日

    private String roleName;
}
